package com.ruoyi.system.service;

import com.ruoyi.system.domain.MiniUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.vo.HomeStatisticsVO;
import com.ruoyi.system.domain.vo.h5.IncomeSummaryVO;

import java.util.List;

/**
* @author 李鼎
* @description 针对表【mini_user(小程序用户表)】的数据库操作Service
* @createDate 2023-11-09 16:13:36
*/
public interface MiniUserService extends IService<MiniUser> {

    MiniUser createUser(String openid, String inviteCode);

    IncomeSummaryVO selectInviteCountByOpenid(String openid);

    List<IncomeSummaryVO> selectInviteRecordByOpenid(String openid);

    MiniUser getMyInfo(String openid);
}
